﻿@model SoftHotel.Models.ProductoModel

@{
    ViewBag.Title = "Buscar2";
}


@using (Html.BeginForm())
{   
     @Html.ValidationSummary()

    <h1><strong>Productos</strong></h1>        
        <br /> 
        <h2>
        Buscar<hr align="left" width="80" noshade="noshade" />   
    </h2>
    <table id="MainContent_Table1" rules="none" style="border-color: Black; width: 450px; margin-bottom: 0px;">
	<tbody>
	<tr>
		<td style="width: 20px;"></td>
		<td style="font-weight: bold; width: 220px;" align="">Código </td>
		<td style="width: 220px;">		
        @Html.TextBoxFor(Model => Model.idProducto)
		</td>
	</tr>
	<tr>
		<td style="width: 20px;"></td>
		<td style="font-weight: bold; width: 220px;">Producto</td>
		<td style="width: 220px;">
		@Html.TextBoxFor(Model => Model.descripcion)
		</td>		
	</tr>
	<tr>
		<td style="width: 20px;"></td>
		<td style="font-weight: bold; width: 123px;">Fecha Inicio </td>
		<td style="width: 194px;">@{@Html.TextBoxFor(Model => Model.fechaInicio)}
        </td>
		<td></td>
	</tr>
	<tr>
		<td style="width: 20px;"></td>
		<td style="font-weight: bold; width: 123px;">Fecha Fin </td>
		<td style="width: 194px;">@{@Html.TextBoxFor(Model => Model.fechaFin)}
        <td></td>
	</tr>
    	
	<tr>
		<td style="width: 20px;"></td>
		<td style="font-weight: bold;">Categoria</td>	
		<td>
		@Html.DropDownListFor(Model => Model.categoria, new[]{
                    new SelectListItem() {Text = "Limpieza", Value = "Limpieza"},
                    new SelectListItem() {Text = "Oficina", Value = "Oficina"},
                    new SelectListItem() {Text = "Habitación", Value = "Habitacion"},
                    new SelectListItem() {Text = "Comestible", Value = "Comestible"}
                    }, "Seleccione")
		</td>	
	</tr>
	<tr>
		<td style="width: 20px;"></td>
		<td style="font-weight: bold;">Estado</td>	
		<td>
		@Html.DropDownListFor(Model => Model.estado, new[]{
                        new SelectListItem() {Text = "Activo", Value = "Activo"},
                        new SelectListItem() {Text = "Inactivo", Value = "Inactivo"}
                    }, "Seleccione")
		</td>	
	</tr>
</tbody>
</table>
<br />
<input value="Buscar" type="submit" name = "button" style = " margin-left : 100px;"/>

    

}